home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1997 / MacHack 1997.toast / Hacks / Hacks ’97 / Ventriloquist / source code / TalkerApp / OTdsp.h < prev    next >
Encoding:
Text File  |  1997-06-27  |  469 b   |  26 lines  |  [TEXT/CWIE]

  1. // OTdsp.h
  2. #include <types.h>
  3.  
  4. #ifndef __OPENTPTAPPLETALK__
  5. #include <OpenTptAppleTalk.h>
  6. #endif
  7.  
  8. class DDPAddress;
  9.  
  10. void Idle();
  11.  
  12. typedef struct    {
  13.     TEndpoint*    ep;
  14.     DDPAddress    addr;
  15.     OTNameID    nameID;
  16. } OTNetConData, **OTNetConDataHandle;
  17.  
  18.  
  19. long OTdspOpen(StringPtr Name, StringPtr Zone);
  20. long OTdspListen(StringPtr Name);
  21. long OTClose(long id);
  22. long OTdspStatus(long id);
  23. long OTChars(long id);
  24. long OTSend(long id, Str31 word);
  25. void OTRecvText( long id, Str31 word );
  26.